﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FilStartUps_PostArchieves.ascx.cs"
    Inherits="FilStartUps.Controls.FilStartUps_PostArchieves" %>
<%@ Import Namespace="FilStartUps.Helper" %>
<div class="col_w960">
    <div style="padding: 20px 20px 20px 20px">
        <asp:Panel ID="pnlList" runat="server">
            <asp:DataList ID="dlFilStartUps_PostArchieves" runat="server" RepeatLayout="Table"
                RepeatColumns="1" OnItemCommand="dlFilStartUps_PostArchieves_ItemCommand">
                <ItemTemplate>
                    <div style="padding: 20px 0px 20px 0px">
                        <div class="grid_3">
                            <asp:Image runat="server" ImageUrl='<%# "../FilStartUps_Images.ashx?id=" + Eval("postidPK") %>'
                                Width="150px" Height="90px" />
                        </div>
                        <div class="grid_8">
                            <asp:Label ID="postidPK" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "postidPK") %>'
                                Visible="false">
                            </asp:Label>
                            <h1 style="font-size: 18px; font-weight: bold;">
                                <asp:LinkButton ID="posttitle" runat="server" CommandName="SelectRow" Text='<%# DataBinder.Eval(Container.DataItem, "posttitle") %>'>
                                </asp:LinkButton>
                                <hr />
                            </h1>
                            <asp:Label runat="server" ID="postdatecreated" Text='<%#  ConvertDate(DataBinder.Eval(Container.DataItem, "datecreated").ToString()) %>'>
                            </asp:Label>
                            <br />
                            <asp:Literal ID="postdescription" runat="server" Text='<%# HtmlRemoval.StripTagsCharArray(Truncate(DataBinder.Eval(Container.DataItem, "postdescription").ToString())) %>'>
                            </asp:Literal>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:DataList>
            <hr />
            <div>
                <div align="left" style="padding: 10px; margin-left: 120px; float: left;">
                    <asp:LinkButton ID="lnkbPrev" runat="server" OnClick="lnkbPrev_Click">Prev</asp:LinkButton>
                    &nbsp;&nbsp;
                    <asp:LinkButton ID="lnkbNext" runat="server" OnClick="lnkbNext_Click">Next</asp:LinkButton>
                </div>
                <div align="right" style="padding: 10px; margin-left: 120px;">
                    <asp:Literal ID="litPageNumber" runat="server" Text=""></asp:Literal>
                </div>
            </div>
        </asp:Panel>
    </div>
</div>
